import request from "@/utils/request";
// 列表
export function list(data) {
  return request("order/list", data, "get");
}
// 订单详情
export function info(data) {
  return request("order/info", data, "get");
}
// 订单发货
export function orderSend(data) {
  return request("order/orderSend", data, "post");
}
// 设置是否允许发货
export function setSend(data) {
  return request("order/setSend", data, "post");
}
// 设置是否允许售后
export function setRefund(data) {
  return request("order/setRefund", data, "post");
}
// 能量订单列表
export function orderEnergy(data) {
  return request("order/orderEnergy", data, "get");
}
// 订单能量签到记录
export function orderEnergyLog(data) {
  return request("order/orderEnergyLog", data, "get");
}
// 虚拟商品订单发货
export function virOrderSend(data) {
  return request("order/virOrderSend", data, "post");
}
